package com.ucode.model.hrm.convert;

import com.ucode.model.hrm.HrmAttendanceApplyRecord;
import com.ucode.model.hrm.form.HrmAttendanceApplyRecordForm;
import com.ucode.model.hrm.vo.HrmAttendanceApplyRecordVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface HrmAttendanceApplyRecordConvert {

    HrmAttendanceApplyRecordConvert INSTANCE = Mappers.getMapper(HrmAttendanceApplyRecordConvert.class);

    HrmAttendanceApplyRecord convert(HrmAttendanceApplyRecordForm form);

    HrmAttendanceApplyRecordVO convert(HrmAttendanceApplyRecord bean);

    Paginator<HrmAttendanceApplyRecordVO> convertPage(Paginator<HrmAttendanceApplyRecord> page);

}
